export default defineI18nConfig(() => ({
  legacy: false,
  locale: 'zh',
  messages: {
    en: {
      data_center: 'Data Center',
      create_table: 'Add Table',
      language_zh: 'Chinese',
      language_en: 'English',
      home: 'Home',
      edit: 'Edit',
      delete: 'Delete',
      confirm_operation: 'Confirm this action?',
      cancel: 'Cancel',
      confirm: 'Submit',
      add_row: 'Create',
      add_field: 'Add Field',
      add_table: 'Add Table',
      create_record: 'Edit Record',
      edit_record: 'Edit Record',
      edit_table: 'Edit Table',
      enter_input: 'Please enter',
      action: 'Action',
      items: 'items',
      table_name: 'Table',
      field_name: 'Field',
      search: 'Search',
      reset: 'Reset',
      truncate: 'Truncate',
      please_enter_table_name: 'Please enter table name',
      please_enter_field_name: 'Please enter field name',
      please_select_field_type: 'Please select field type',
    },
    zh: {
      data_center: '数据中心',
      create_table: '添加表',
      language_zh: '中文',
      language_en: '英文',
      home: '首页',
      edit: '编辑',
      delete: '删除',
      confirm_operation: '确认此操作?',
      cancel: '取消',
      confirm: '确认',
      add_row: '创建',
      create_record: '创建记录',
      add_field: '添加字段',
      add_table: '添加表',
      edit_record: '编辑记录',
      edit_table: '编辑表',
      enter_input: '请输入',
      action: '操作',
      items: '条',
      table_name: '表名',
      field_name: '字段',
      search: '搜索',
      reset: '重置',
      truncate: '清空',
      please_enter_table_name: '请填写表名',
      please_enter_field_name: '请填写字段名',
      please_select_field_type: '请选择字段类型',
    }
  }
}))
